package com.luobd.bpm.business.process.service;

import com.luobd.bpm.business.process.input.ProcessTaskPageInput;
import com.luobd.bpm.business.process.input.TaskCommandInput;
import com.luobd.bpm.common.ResponseData;
import com.luobd.bpm.common.ResponsePageData;
import com.luobd.bpm.dto.ProcessTaskDTO;

import java.util.List;

public interface IProcessTaskService {



    ResponseData<Boolean> start (String id);




    ResponsePageData<ProcessTaskDTO> page(ProcessTaskPageInput pageInput);



    ResponseData<Boolean> resolveTask(TaskCommandInput input);


    ResponseData<List<ProcessTaskDTO>> historyList(String processInstanceId);


    ResponseData<Boolean> recallTaskByProcessId(String processInstanceId);










}
